﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPages/MasterPageSrch.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Browse_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpMainContent" Runat="Server">


<%--<head id="Head1" runat="server">
    <title>Code Example - Nested Repeater</title>
    <style type="text/css">
        body {font-family:Arial;}
        h1 {color: black; font-weight:bolder; font-size:large; text-decoration:underline;}
        .series {color:Green;}
    </style> 
</head>--%>
<body>
    <form id="form1" runat="server">
        <h1>List all provenances and their series</h1>
        <asp:DataList
            ID="parentDataList" runat="server" DataKeyField="ProvenanceId" 
            DataSourceID="SqlDataSource1">
            <ItemTemplate>   
            <%#DataBinder.Eval(Container.DataItem, "Name")%>
            <blockquote>
            <asp:DataList ID="nestedDataList" runat="server">
                <ItemTemplate>            
                    <span class="series"><%#DataBinder.Eval(Container.DataItem, "SeriesTitle")%></span>
                </ItemTemplate>
            </asp:DataList>
        </blockquote>
            </ItemTemplate>
         </asp:DataList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
    </form>
</body>
<%--</html>--%>
</asp:Content>